<!DOCTYPE HTML>
<html lang="en-US">
	<head>
		<meta charset="UTF-8">
		<title>UNEED | Tu Buscador de Regalos</title>
		<link rel="stylesheet" href="assets/css/normalize.css" />
		<link rel="stylesheet" href="assets/css/fonts.css" />
		<link rel="stylesheet" href="assets/css/styles.css" />
		<script src="assets/jquery/jquery-1.9.1.js"></script>
		<script src="assets/jquery/funciones.js"></script>
	</head>
	<body>
		<section id="iniciar_sesion">
			<div id="form">
				<h1>Versión: Beta Testing 1.0</h1>
				<form id="login" action="assets/php/hacer_login.php" method='post'>
					<label><input type="email" name="email" id="email" placeholder="Ingrese su email" required/></label>
					<label><input type="password" name="clave" id="clave" placeholder="Contraseña" required/></label>
					<div><input type="submit" value="Login" /></div>
					<p id="registro">Registrarse</p>
				</form>
					<?php
						if(isset($_GET['error'])){
							echo '<span>El usuario o contraseña ingresados son inválidos.</span>';
						}
					?>
				<form id="registro" action="" method='post'>
					<label><input type="text" name="normbre" id="nombre" placeholder="Ingrese su normbre" required/></label>
					<label><input type="email" name="email" id="email" placeholder="Ingrese su email" required/></label>
					<label><input type="password" name="pwd" id="clave" placeholder="Contraseña" required/></label>
					<div><input type="submit" value="Registrarse" /></div>
					<p id="volver_login">Volver a Login</p>
				</form>
			</div>
		</section>
	</body>
</html>